package com.lmx.repoDomain.tmodel;

import java.util.List;

import javax.persistence.Transient;

import io.katharsis.resource.annotations.JsonApiIncludeByDefault;
import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.JsonApiToMany;
import io.katharsis.resource.annotations.JsonApiToOne;

/**
 * 手机端初始化加载时的数据集合
 *
 * @author ytche
 * @date 2017年7月14日
 *
 */
@JsonApiResource(type = "commonInitConstant")
public class CommonInitConstant extends BaseEntity {
	private static final long serialVersionUID = 1L;
	private List<Dicttype> dicttypes;
	private SysConfig sysConfig;
	private List<DicttypeTenant> dicttypeTenants;
	private List<Bed> beds;
	private List<Customer> customers;
	private List<Conf> confs;

	private List<ServiceFinishLevel> serviceFinishLevel;

	private List<TenantPrivilege> tenantPrivileges;
	private List<Privilege> privileges;
	private List<NursingLevel> nursingLevels;
	private List<NursingLevelServiceItem> nursingLevelItems;

	private List<Customer> staffCustomers;
	private List<Employee> employees;
	private List<AppraiseItem> appraiseItems;
	
	private List<TenantEvaModelSource> tenantEvaModelSources;

	private Integer type;
	
	private List<Tenant> tenants;
	
	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Tenant> getTenants() {
		return tenants;
	}

	public void setTenants(List<Tenant> tenants) {
		this.tenants = tenants;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<TenantEvaModelSource> getTenantEvaModelSources() {
		return tenantEvaModelSources;
	}

	public void setTenantEvaModelSources(List<TenantEvaModelSource> tenantEvaModelSources) {
		this.tenantEvaModelSources = tenantEvaModelSources;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Dicttype> getDicttypes() {
		return dicttypes;
	}

	public void setDicttypes(List<Dicttype> dicttypes) {
		this.dicttypes = dicttypes;
	}

	@JsonApiIncludeByDefault
	@JsonApiToMany
	public List<DicttypeTenant> getDicttypeTenants() {
		return dicttypeTenants;
	}

	public void setDicttypeTenants(List<DicttypeTenant> dicttypeTenants) {
		this.dicttypeTenants = dicttypeTenants;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<ServiceFinishLevel> getServiceFinishLevel() {
		return serviceFinishLevel;
	}

	public void setServiceFinishLevel(List<ServiceFinishLevel> serviceFinishLevel) {
		this.serviceFinishLevel = serviceFinishLevel;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Bed> getBeds() {
		return beds;
	}

	public void setBeds(List<Bed> beds) {
		this.beds = beds;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Customer> getCustomers() {
		return customers;
	}

	public void setCustomers(List<Customer> customers) {
		this.customers = customers;
	}

	@JsonApiToOne
	@JsonApiIncludeByDefault
	public SysConfig getSysConfig() {
		return sysConfig;
	}

	public void setSysConfig(SysConfig sysConfig) {
		this.sysConfig = sysConfig;
	}

	@Transient
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<TenantPrivilege> getTenantPrivileges() {
		return tenantPrivileges;
	}

	public void setTenantPrivileges(List<TenantPrivilege> tenantPrivileges) {
		this.tenantPrivileges = tenantPrivileges;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Privilege> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(List<Privilege> privileges) {
		this.privileges = privileges;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<NursingLevel> getNursingLevels() {
		return nursingLevels;
	}

	public void setNursingLevels(List<NursingLevel> nursingLevels) {
		this.nursingLevels = nursingLevels;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<NursingLevelServiceItem> getNursingLevelItems() {
		return nursingLevelItems;
	}

	public void setNursingLevelItems(List<NursingLevelServiceItem> nursingLevelItems) {
		this.nursingLevelItems = nursingLevelItems;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Customer> getStaffCustomers() {
		return staffCustomers;
	}

	public void setStaffCustomers(List<Customer> staffCustomers) {
		this.staffCustomers = staffCustomers;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Conf> getConfs() {
		return confs;
	}

	public void setConfs(List<Conf> confs) {
		this.confs = confs;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<Employee> getEmployees() {
		return employees;
	}

	public void setEmployees(List<Employee> employees) {
		this.employees = employees;
	}

	@JsonApiToMany
	@JsonApiIncludeByDefault
	public List<AppraiseItem> getAppraiseItems() {
		return appraiseItems;
	}

	public void setAppraiseItems(List<AppraiseItem> appraiseItems) {
		this.appraiseItems = appraiseItems;
	}

}
